package com.atguigu.demo;

import com.alibaba.excel.EasyExcel;
import com.atguigu.demo.excel.DemoData;
import com.atguigu.demo.excel.ExcelListener;

//实现Excel的读操作
public class EasyExcelRead {

    public static void main(String[] args) {
        String fileName = "D:\\write.xlsx";

        //实现excel的读操作
        EasyExcel.read(fileName, DemoData.class, new ExcelListener()).sheet().doRead();


    }
}
